package com.online.service;

import com.online.entity.FillQuestion;

import java.util.List;

public interface FillQuestionService {
    /**
     * 增加填空题信息
     * @param fillQuestion
     * @return
     */
    int add(FillQuestion fillQuestion);

    /**
     * 查询最后一条questionId
     * @return
     */
    FillQuestion findOnlyQuestionId();

    List<FillQuestion> findByIdAndType(Integer paperId);

    List<Integer> findBySubject(String subject, Integer fillNumber);
}
